﻿namespace Digitalmes.Application.Sys.Posts;

public sealed class SysPosDto : Dto
{
    /// <summary>
    /// 职位名称
    /// </summary>
    [NotNull]
    public string? Name { get; set; }

    /// <summary>
    /// 职位编号
    /// </summary>
    [NotNull]
    public string? Code { get; set; }

    /// <summary>
    /// 排序
    /// </summary>
    public int Order { get; set; }

    /// <summary>
    /// 启用状态（0->停用，1->启用）
    /// </summary>
    public EnabledStatusEnum Status { get; set; }

    public string? CreatedBy { get; set; }

    public DateTime CreatedTime { get; set; }

    public string? UpdatedBy { get; set; }

    public DateTime? UpdatedTime { get; set; }
}
